package com.example.jnindkdemo;

/**
 * Created by tangjiangxu on 11/10/17.
 */

public class JniTest {
    static {
        System.loadLibrary("jni-test");
    }

    public static void main(String[] args) {
        JniTest jniTest = new JniTest();
        System.out.print(jniTest.get());
        jniTest.set("hello world!");
    }

    public native String get();

    public native void set(String str);
}
